package com.fresh.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class Pay {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long payId;
    private String cgNo;
    private String cgGname;
    private Integer cgNum;
    private String cgUname;
    private String riName;
    private Integer riNum;
    private BigDecimal riPrice;
    private String riSname;
    private BigDecimal payTotal;
    private String payIn;
    private String payEnd;
    private String payStatus;
}
